/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 */
package com.lehe.entry;

/**
 * 用户通过微信授权登录后，服务器存储用户的相关信息
 *
 * @author 王丹
 * @since 2017-02-25
 */
public class UserSessionDto {

    /** 用户ID */
    private Long userId;
    /** 本人代理ID */
    private Long agentId;
    /** 用户昵称 */
    private String nickName;
    /** 用户头像 */
    private String userImg;
    /** 用户UNIONID */
    private String wxUnionId;
    /** 用户OPENID */
    private String wxOpenId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String headImg) {
        this.userImg = headImg;
    }

    public String getWxUnionId() {
        return wxUnionId;
    }

    public void setWxUnionId(String wxUnionId) {
        this.wxUnionId = wxUnionId;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }
}
